package org.xiaov.codeautocreator.web.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import org.xiaov.codeautocreator.common.R;

/**
 * <p>
 * 描述：测试
 * </p>
 *
 * @author xiaovcloud
 * @since 2021/9/2 下午9:29
 */
@RestController
@Api(value = "接口demo测试" )
public class TestController {

    @GetMapping("/")
    @ApiOperation(value = "测试显示success")
    public R test() {
        return R.okMsg("success");
    }
}
